projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8d0fe
)
Stop printing '4' in .elc files after 'define-symbol-prop' calls
author
Noam Postavsky
<npostavs@gmail.com>
Sat, 19 Aug 2017 11:36:05 +0000
(07:36 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 20 Aug 2017 03:29:28 +0000
(23:29 -0400)
* lisp/emacs-lisp/bytecomp.el (byte-compile-define-symbol-prop):
Return nil in case we have compiled the form, to prevent a redundant
constant from getting added to the compiled output.
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index 9e14c91c9536acf827dc96e5c8826f94ff974c1d..d769a155aa0549d882e2481bf5e31dbcaac116ea 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-4740,7
+4740,8
@@
binding slots have been popped."
. (,prop ,val ,@(alist-get fun overriding-plist-environment)))
overriding-plist-environment)
(byte-compile-push-constant val)
- (byte-compile-out 'byte-call 3)))
+ (byte-compile-out 'byte-call 3)
+ nil))
(_ (byte-compile-keep-pending form))))
\f